From: Keir Fraser Date: Tue, 27 Jan 2009 10:25:33 +0000 (+0000) Subject: x86: Fix shadow_check_page_struct_offsets() comment. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14014^2~8 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=56e83ff6663c66258935a2d4cfaabdee03f49a89;p=xen.git x86: Fix shadow_check_page_struct_offsets() comment. Signed-off-by: Keir Fraser --- diff --git a/xen/arch/x86/mm/shadow/private.h b/xen/arch/x86/mm/shadow/private.h index 83e8a2a728..33516f784e 100644 --- a/xen/arch/x86/mm/shadow/private.h +++ b/xen/arch/x86/mm/shadow/private.h @@ -265,8 +265,8 @@ struct shadow_page_info /* The structure above *must* be no larger than a struct page_info * from mm.h, since we'll be using the same space in the frametable. - * Also, the mbz field must line up with the owner field of normal - * pages, so they look properly like anonymous/xen pages. */ + * Also, the mbz field must line up with the count_info field of normal + * pages, so they cannot be successfully get_page()d. */ static inline void shadow_check_page_struct_offsets(void) { BUILD_BUG_ON(sizeof (struct shadow_page_info) != sizeof (struct page_info));